<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="f"  uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h"  uri="http://java.sun.com/jsf/html"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<f:view>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>User Register page</title>
</head>
<body>
<h:form>
	<table>
	<tr>
			<td>
				<h:outputLabel>NO.</h:outputLabel>
			</td>
			<td>
				<h:inputText value="#{EventTypeBean.type.id}"></h:inputText>
				
			</td>
	</tr>
	<tr>
			<td>
				<h:outputLabel>Event Name:</h:outputLabel>
			</td>
			<td>
				<h:inputText value="#{EventTypeBean.type.name}"></h:inputText>
			</td>
	</tr>
	<tr>
			<td>
				<h:outputLabel>Description</h:outputLabel>
			</td>
			<td>
				<h:inputText value="#{EventTypeBean.type.description}"></h:inputText>
			</td>
	</tr>
	
	<tr>
			<td>
				<h:commandButton value="Save" style="width: 58px; " action="#{EventTypeBean.insertNew}"></h:commandButton>
			</td>
			<td>
				<h:commandButton value="Cancel" action="cancel"></h:commandButton>
			</td>
			
	</tr>
	</table>
	</h:form>
</body>
</html>
</f:view>

